package com.wenhui.schoolyardinfo.square.bean;

import java.util.List;

/**
 * author    : Urasaki
 * e-mail    : 1164688204@qq.com
 * date      : 2019/7/4 16:19
 * introduce : 省和市
 */

public class ProvincesAndCities {

    private String name;
    private List<CityBean> cityBeanList;

    public ProvincesAndCities() {
    }

    public ProvincesAndCities(String name, List<CityBean> cityBeanList) {
        this.name = name;
        this.cityBeanList = cityBeanList;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<CityBean> getCityBeanList() {
        return cityBeanList;
    }

    public void setCityBeanList(List<CityBean> cityBeanList) {
        this.cityBeanList = cityBeanList;
    }

    @Override
    public String toString() {
        return "ProvincesAndCities{" +
                "name='" + name + '\'' +
                ", cityBeanList=" + cityBeanList +
                '}';
    }

    public static class CityBean {
        private String name;

        public CityBean() {
        }

        public CityBean(String name) {
            this.name = name;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        @Override
        public String toString() {
            return "CityBean{" +
                    "name='" + name + '\'' +
                    '}';
        }
    }
}
